package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Product;

/**
 * Created by root on 18-4-7.
 */
public interface IProductService {

    public ServerResponse saveProduct(Product product);

    public ServerResponse setSaleStatus(Integer productId, String status);

    public ServerResponse getProductDetail(Integer productId);

    public ServerResponse  getManageProductList(Integer pageNum, Integer pageSize);

    public ServerResponse searchProductList(String productName, Integer productId, Integer pageNum, Integer pageSize);

    public ServerResponse searchProductList(Integer categoryId, String keyword, Integer pageNum, Integer pageSize, String orderBy);
}
